#ifndef BPE_BOUNDING_BOX_H
#define BPE_BOUNDING_BOX_H

#include "BPEBoundingShape.h"
#include "../BPEMath/BPEBox3d.h"
class BPEBoundingBox:public BPEBoundingShape{

private:
	BPEBox3d bBox;

public:
	BPEBoundingBox();
	BPEBoundingBox(const BPEBox3d &b);

	BPEBox3d getBoundingBox();
	bool collide(BPEBoundingShape *other,BPEVector3d &normal, double &depth);
	BPEVector3d getCenter();
	void setCenter(const BPEPoint3d &c);

	void setRotation(const BPEVector3d &rads);
	void updatePositionAndRotation(const BPEPoint3d &position, BPEVector3d rotation= BPEVector3d(0,0,0));
	
	char getType();
};

#endif